package StructuralPattern.Decoration.Crypto;

public class Other_Crypto extends Crypto {

    private Crypto other_crypto;

    public Other_Crypto(Crypto Crypto) {
        this.other_crypto = Crypto;
    }

    @Override
    public void encrypt() {
        other_crypto.encrypt();
    }
}
